package view

import (
	"github.com/labstack/echo"
	"src/controller/admin"
)

func InitAdminView(Admin *echo.Group) {
	Admin.DELETE("/comment", admin.DeleteComment)
	Admin.DELETE("/reply", admin.DeleteReply)
	Admin.DELETE("/forumpost", admin.DeleteForumpost)
	Admin.POST("/login", admin.Login)

	Admin.GET("/application", admin.GetApplication)
	Admin.POST("/application/agree", admin.AgreeApplication)
	Admin.POST("/application/disagree", admin.DisagreeApplication)
}
